package com.ibeetl.cms.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;


/* 
* 
* gen by Spring Boot2 Admin 2019-10-14
*/
public class HomeContent extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	
    //轮播图控制标识

    private String rotationFlag ;
	
    //内容标题

    private String title ;
	
    //链接

    private String url ;
	
    //图片路径

    private String pic ;
	

    private Date created ;
	

    private Date updated ;
	
    //0:未删除

    private String del ;
	
    public HomeContent(){
    }

    public Integer getId(){
        return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    /**轮播图控制标识
    *@return 
    */
    public String getRotationFlag(){
        return  rotationFlag;
    }
    /**轮播图控制标识
    *@param  rotationFlag
    */
    public void setRotationFlag(String rotationFlag){
        this.rotationFlag = rotationFlag;
    }

    /**内容标题
    *@return 
    */
    public String getTitle(){
        return  title;
    }
    /**内容标题
    *@param  title
    */
    public void setTitle(String title){
        this.title = title;
    }

    /**链接
    *@return 
    */
    public String getUrl(){
        return  url;
    }
    /**链接
    *@param  url
    */
    public void setUrl(String url){
        this.url = url;
    }

    /**图片路径
    *@return 
    */
    public String getPic(){
        return  pic;
    }
    /**图片路径
    *@param  pic
    */
    public void setPic(String pic){
        this.pic = pic;
    }

    public Date getCreated(){
        return  created;
    }
    public void setCreated(Date created){
        this.created = created;
    }

    public Date getUpdated(){
        return  updated;
    }
    public void setUpdated(Date updated){
        this.updated = updated;
    }

    /**0:未删除
    *@return 
    */
    public String getDel(){
        return  del;
    }
    /**0:未删除
    *@param  del
    */
    public void setDel(String del){
        this.del = del;
    }


}
